const getStudentsInfo = async () => {
  const res = await axios({
    url: '/dashboard',
  })
  console.log(res)
  const { overview } = res.data
  document.querySelector('[name=salary]').innerText = overview.salary
  document.querySelector('[name=group_count]').innerText = overview.group_count
  document.querySelector('[name=age]').innerText = overview.age
  document.querySelector('[name=student_count]').innerText =
    overview.student_count
}
getStudentsInfo()
